# -*- coding: utf-8 -*-
"""
Create Time: 2019/11/9 15:23
Author: yxl
Descript:
"""
from index.models import MXindex
from goods.models import MXgoods

def goodsindex():
    mxindex1s = MXindex.objects.all()[0:1]
    mxindex2s = MXindex.objects.all()[1:8]
    mxindex3s = MXindex.objects.all()[8:9]
    return mxindex1s,mxindex2s,mxindex3s


def goodslist():
    mxgoodlists = MXgoods.objects.all()
    return mxgoodlists

